package Basic;

public class Regex {
    public static void main(String[] args) {
        String random = "20\\d\\d";
        System.out.print("结果是");
        System.out.println("2019".matches(random));
    }
}
